home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C02 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.9 KB  |  101 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C02
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Hello \
  22.     Stream2 \
  23.     Concat \
  24.     Numconv \
  25.     Incr \
  26.     Incident \
  27.     HelloStrings \
  28.     Scopy \
  29.     FillString \
  30.     Fillvector \
  31.     GetWords \
  32.     Intvector 
  33.  
  34. test: all 
  35.     Hello  
  36.     Stream2  
  37.     Concat  
  38.     Numconv  
  39.     Incr  
  40.     Incident  
  41.     HelloStrings  
  42.     Scopy  
  43.     FillString  
  44.     Fillvector  
  45.     GetWords  
  46.     Intvector  
  47.  
  48. bugs: 
  49.     @echo No compiler bugs in this directory!
  50.  
  51. Hello: Hello.o 
  52.     $(CPP) $(OFLAG)Hello Hello.o 
  53.  
  54. Stream2: Stream2.o 
  55.     $(CPP) $(OFLAG)Stream2 Stream2.o 
  56.  
  57. Concat: Concat.o 
  58.     $(CPP) $(OFLAG)Concat Concat.o 
  59.  
  60. Numconv: Numconv.o 
  61.     $(CPP) $(OFLAG)Numconv Numconv.o 
  62.  
  63. Incr: Incr.o 
  64.     $(CPP) $(OFLAG)Incr Incr.o 
  65.  
  66. Incident: Incident.o 
  67.     $(CPP) $(OFLAG)Incident Incident.o 
  68.  
  69. HelloStrings: HelloStrings.o 
  70.     $(CPP) $(OFLAG)HelloStrings HelloStrings.o 
  71.  
  72. Scopy: Scopy.o 
  73.     $(CPP) $(OFLAG)Scopy Scopy.o 
  74.  
  75. FillString: FillString.o 
  76.     $(CPP) $(OFLAG)FillString FillString.o 
  77.  
  78. Fillvector: Fillvector.o 
  79.     $(CPP) $(OFLAG)Fillvector Fillvector.o 
  80.  
  81. GetWords: GetWords.o 
  82.     $(CPP) $(OFLAG)GetWords GetWords.o 
  83.  
  84. Intvector: Intvector.o 
  85.     $(CPP) $(OFLAG)Intvector Intvector.o 
  86.  
  87.  
  88. Hello.o: Hello.cpp 
  89. Stream2.o: Stream2.cpp 
  90. Concat.o: Concat.cpp 
  91. Numconv.o: Numconv.cpp 
  92. Incr.o: Incr.cpp 
  93. Incident.o: Incident.cpp 
  94. HelloStrings.o: HelloStrings.cpp 
  95. Scopy.o: Scopy.cpp 
  96. FillString.o: FillString.cpp 
  97. Fillvector.o: Fillvector.cpp 
  98. GetWords.o: GetWords.cpp 
  99. Intvector.o: Intvector.cpp 
  100.  
  101.